import { getAction, deleteAction, putAction, postAction, httpAction, downFile, downFilePost } from '@/api/manage'
const serviceName = ''
// 左右列表
// 反走私情报数据概览
const querySummaryCount = params => getAction(`${serviceName}/smuInfoSummary/querySummaryCount`, params)
// 告警类型概况
const querySmuSummaryCount = params => getAction(`${serviceName}/smuggle/smuWarnSummary/querySummaryCount`, params)
//情报商品类型变化趋势
const queryGoodsType = params => getAction(`${serviceName}/smuInfoSummary/queryGoodsType`, params)
//数据来源情报推送占比(数据来源占比)
const queryDataSource = (params)=>getAction(`${serviceName}/smuInfoSummary/queryDataSource`,params);
//告警区域数量排行(发布区域告警数量排行 TOP7)
const queryAreaWarn = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryAreaWarn`, params)
//走私情报关键词排行(情报关键词排行top7)
const queryKeyword = params => getAction(`${serviceName}/smuInfoSummary/queryKeyword`, params)
//数据来源告警动态占比(告警动态类型占比)
const queryDynamicTypeRatio = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryDynamicTypeRatio`, params)
//告警类型变化趋势(走私类型告警变化趋势)
const querySmuWarnType = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryWarnType`, params)
//走私贩卖物品排行(走私物品排行top7)
const queryGoodsTop = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryGoodsTop`, params)
//走私告警账户排行(告警数量排行 TOP7)
const queryWarnTop = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryWarnTop`, params)
//走私贩卖网站排行(疑似走私贩卖网站排行TOP7)
const querySourceUrl = params => getAction(`${serviceName}/smuInfoSummary/querySourceUrl`, params)
//特定区域数量变化趋势
const queryAreaNums = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryWarnType`, params)


// 告警动态数据、情报动态数据（底部列表）
const smuUserList1 = params => getAction(`${serviceName}/smuggle/smuInfoWarn/list`, params)
const smuUserList2 = params => postAction(`${serviceName}/smuggle/smuInfoRecord/list`, params)

// 地图
const getMapIndicators = params => getAction(`${serviceName}/smuggle/smuWarnSummary/queryWarnMap`, params)

export {
  querySummaryCount,
  querySmuSummaryCount,
  queryGoodsType,
  queryDataSource,
  queryAreaWarn,
  queryKeyword,
  querySmuWarnType,
  queryGoodsTop,
  queryDynamicTypeRatio,
  queryWarnTop,
  querySourceUrl,
  queryAreaNums,
  
  smuUserList1,
  smuUserList2,

  getMapIndicators,
}
